

    <div class="container_top">
          <div class="row-fluid ">
            <div class="top_bar_stats to_hide_tablet">
              <div class="stats">
                <span class="title">欢迎进入:</span> 雷谛3X净水计划管理平台
              </div>
            </div>

           <div class="top_right">

            <ul class="nav nav_menu">

          <li class="dropdown">
          <a class="dropdown-toggle administrator" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html">
          <span class="icon"><img src="{{ URL::asset('ad/img/menu_top/profile-avatar.png') }}"></span><span class="title">@if(Sentry::check())
                                                                                                                                                  {{ $currentUser->username }}
                                                                                                                                                  @endif</span></a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
           <!--  <li><a href="#"><i class=" icon-user"></i> My Profile</a></li> -->
            <!-- <li><a href="#"><i class=" icon-cog"></i>Settings</a></li> -->
            <li><a href="{{ URL::route('admin.logout') }}"><i class=" icon-unlock"></i>退出</a></li>
            <!-- <li><a href="#"><i class=" icon-flag"></i>Help</a></li> -->
          </ul>
          </li>
          <li class="dropdown">
          <a id="dLabel" onclick="show_ajax({{ $currentUser->id }})" role="button" data-toggle="dropdown" data-target="#" href="/page.html">
          <span class="icon"><img src="{{ URL::asset('ad/img/menu_top/profile-qrcode.png') }}"></span><span class="title">二维码</span>
          </a>
          <ul class="dropdown-menu messages" aria-labelledby="dLabel">
            <div class="container">
              <div class="heading">
                <span class="title"><i class="icon-qrcode"></i>微信二维码</span>
              </div>
              <div  id="top_qr" >
               <img src="{{ URL::asset('ad/img/qrcode_staff.jpg') }}" />
              </div>

            </div>
          </ul>
          </li>
            </ul>
           </div> <!-- 顶部条-用户信息结束 -->
           <script>
           function show_ajax(id){
                var img = '<img src="{{ URL::asset('ad/img/ajax-loader.gif') }}">';
                $('#top_qr').html(img);

                $.post('{{ URL::route('admin.cities.get_code') }}',{id : id},function(data){
                    $('#top_qr').html(data);
                });
           }
           </script>
            <div class="span4">
            </div>
          </div>
        </div>